﻿'Director
Public Class Automotriz
    Private _autobuilder As AutoBuilder
    Public Sub setAutoBuilder(builder As AutoBuilder)
        _autobuilder = builder
    End Sub
    Public Function getAuto() As Auto
        Return _autobuilder.getAuto()
    End Function

    Public Sub ConstruirAuto()
        _autobuilder.CrearAuto()
        _autobuilder.buildPuertas()
        _autobuilder.buildRuedas()
        _autobuilder.buildMotor()
    End Sub
End Class
